package shape1;

public class Rectangle extends Shape{
	double lenth;
	double wideth;
	public Rectangle(double l,double w,String name) {
		super("矩形");
		lenth = l;
		wideth = w;
	}
	public double area() {
		return lenth * wideth;
	}

	

}
